package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 水滴记录对象 water
 * 
 * @author ruoyi
 * @date 2025-02-19
 */
public class Water extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long waterId;

    /** 获取时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获取时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date waterTime;

    /** 获得 */
    @Excel(name = "获得")
    private String waterGain;

    /** 使用 */
    @Excel(name = "使用")
    private String waterLoss;

    public void setWaterId(Long waterId) 
    {
        this.waterId = waterId;
    }

    public Long getWaterId() 
    {
        return waterId;
    }
    public void setWaterTime(Date waterTime) 
    {
        this.waterTime = waterTime;
    }

    public Date getWaterTime() 
    {
        return waterTime;
    }
    public void setWaterGain(String waterGain) 
    {
        this.waterGain = waterGain;
    }

    public String getWaterGain() 
    {
        return waterGain;
    }
    public void setWaterLoss(String waterLoss) 
    {
        this.waterLoss = waterLoss;
    }

    public String getWaterLoss() 
    {
        return waterLoss;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("waterId", getWaterId())
            .append("waterTime", getWaterTime())
            .append("waterGain", getWaterGain())
            .append("waterLoss", getWaterLoss())
            .toString();
    }
}
